<?php
/**
 * @package		Joomla.Site
 * @subpackage	com_content
 * @copyright	Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
 * @license		GNU General Public License version 2 or later; see LICENSE.txt
 */

// no direct access
defined('_JEXEC') or die;

JHtml::addIncludePath(JPATH_COMPONENT . '/helpers');

// Create shortcuts to some parameters.
$params		= $this->item->params;
$disc = json_decode($this->item->metadata);
$images = json_decode($this->item->images);
$urls = json_decode($this->item->urls);
$canEdit	= $this->item->params->get('access-edit');
$user		= JFactory::getUser();
//var_dump($this->item);

?>






<div class="content1">
                    <img src="<?php echo JURI::base().$images->image_fulltext; ?>" alt="" />
                    <div class="detail1">
                        <h3><?php echo $this->item->title ?></h3>
                        <h4 class="time"><?php echo JHtml::_('date', $this->item->created, JText::_('DATE_FORMAT_LC3')) ?></h4>
                        <p><?php echo $disc->rights ?></p>
                        
                    </div>
                    <div class="nav1">
                        <a class="prev" href="#"><i class="icon5"></i></a>
                        <a class="next" href="#"><i class="icon6"></i></a>
                        <a href="<?php echo JURI::base() ?>"><i class="icon7"></i></a>
                    </div>
                </div>
                <div class="content2">
                    <ul id="title_tab">
                    	<li><a href="#tab" class="pdf_hide active" onclick="$('#title_tab li a').removeClass('active');$(this).addClass('active');$('.item1').css('display', 'none');$('#introtext').css('display', 'block');">ABSTRACT</a></li>
                    	<li><a href="#tab" class="pdf_hide" onclick="$('#title_tab li a').removeClass('active');$(this).addClass('active');$('.item1').css('display', 'none');$('#fulltext').css('display', 'block');">FULL TEXT </a></li>
                    	<li><a rel="nofollow" class="pdf_hide" onclick="window.open(this.href,'win2','width=100,height=100'); return false;" title="Print" href="<?php echo $this->item->readmore_link; ?>?tmpl=component&amp;print=1&amp;pdf=1&amp;layout=default&amp;page=">

PDF</a></li>
                    </ul>
		    <div class="item1" id="introtext">
                        <?php echo $this->item->introtext ?>
                    </div>
                    <div class="item1" id="fulltext" style="display: none">
                        <?php echo $this->item->fulltext ?>
                    </div>
		    <div class="print">
		     <?php echo JHtml::_('icon.print_popup',  $this->item, $params); ?>
		     <!--<a href="#"><i class="icon8"></i><span>PRINT</span></a>-->
		    </div>
                </div>










<?php echo $this->item->event->afterDisplayContent; ?>


